<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <!-- Uses a custom AppManifest -->
    <RequiresProcessIsolation>true</RequiresProcessIsolation>
    <ApplicationManifest>App.manifest</ApplicationManifest>
    <UseManagedCOMServer>true</UseManagedCOMServer>
    <!--  Suppress warning about conflicting type names. This occurs because of the reference to NETServer.
          The reference is only to ensure the project is built and properly copied. The test itself uses
          COM to activate the server rather than typical class activation via 'new' -->
    <NoWarn>$(NoWarn),0436</NoWarn>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="../../ServerContracts/Server.CoClasses.cs" />
    <Compile Include="../../ServerContracts/Server.Contracts.cs" />
    <Compile Include="../../ServerContracts/ServerGuids.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="../../NETServer/NETServer.csproj" />
    <ProjectReference Include="$(TestLibraryProjectPath)" />
  </ItemGroup>
  <ItemGroup>
    <None Include="CoreShim.X.manifest">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
</Project>
